DX11 GET WORLD MATRIX

Retrieves the current world matrix of the specified object.
The matrix will be copied to the provided matrix (which will also be returned by this function) or
it will be put into a temporary matrix which is returned and only valid throughout the current frame.

  Syntax
Return Dword = DX11 GET WORLD MATRIX(object, [matrixResult])
  Parameters
object
Dword
The object to get the current world matrix of.
[Optional] matrixResult
Dword
The world matrix of the given object will be copied here, or to a temporary matrix if this parameter is omitted.

  Returns

Returns the matrixResult if it was provided, or the newly created temporary matrix holding the object's world matrix otherwise.

  See also

MATH Functions Menu
DX11 Function Categories